<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <h1 th:if="${error}!=null" th:text="${error}"></h1>
    <h1 th:if="${error}==null">出现未知错误！</h1>
</html>